<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>${app.name}</title>
    <link rel="shortcut icon" href="${ctxPath}/favicon.ico?v=${app.version}">
    <link href="${ctxPath}/assets/plugins/font-awesome/css/font-awesome.min.css?v=4.7.0" rel="stylesheet">
    <link href="${ctxPath}/assets/plugins/layui/css/layui.css?v=2.7.6" rel="stylesheet">
    <link href="${ctxPath}/assets/common/css/style.css?v=${app.version}" rel="stylesheet">
</head>

<body style="overflow:hidden;">
<div id="wrapper" style="overflow:hidden;position: absolute;top: 0;left: 0;right: 0;bottom: 0;">
    <div style="position: absolute;top: 0;left: 0;width: 200px; height: 40px;line-height: 40px;text-align: center;color: white;font-size: 16px;font-weight: 400px;" class="layui-bg-black">
        ${app.name}
    </div>
    <div style="position: absolute;right: 0;top: 0;width: calc(100% - 200px) !important;">
        <div style="height: 40px;" class="layui-bg-black">
            <ul class="layui-nav layui-layout-right dawn-nav">
                <li class="layui-nav-item">
                    <a href="javascript:;"><b class="account"></b></a>
                    <dl class="layui-nav-child">
                        <dd><a class="user_view" href="javascript:;">个人资料</a></dd>
                        <dd><a class="user_chpwd" href="javascript:;">修改密码</a></dd>
                        <hr>
                        <dd><a class="logout" href="javascript:;">安全退出</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <!--左侧导航开始-->
    <div class="layui-side layui-bg-black" style="top: 40px;bottom: 40px;">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree" id="side-menu">
                <li class="layui-nav-item layui-this"><a class="J_menuItem" name="tabMenuItem" href="/views/home"><i class="fa fa-home dawn-icon"></i><span class="menu-text-left">首页</span></a></li>
            </ul>
        </div>
    </div>
    <div class="layui-bg-black nav-btn">
        <i class="fa fa-angle-double-left"></i>
    </div>
    <!--左侧导航结束-->

    <!--右侧部分开始-->
    <div class="layui-body">
        <iframe class="J_iframe" id="content-main" src="${ctxPath}/view.html?url=%2Fviews%2Fhome"
                frameborder="0"
                data-id="/home"></iframe>
    </div>
    <!--右侧部分结束-->

</div>

<!-- 全局js -->
<script src="${ctxPath}/assets/plugins/jquery/jquery.min.js?v=2.1.4"></script>
<script src="${ctxPath}/assets/plugins/jquery/jquery.cookie.min.js?v=1.4.1"></script>
<script src="${ctxPath}/assets/plugins/layui/layui.js?v=2.7.6"></script>
<script src="${ctxPath}/assets/common/js/dawn.js?v=${app.version}"></script>
<script src="${ctxPath}/assets/common/js/ajax-object.js?v=${app.version}"></script>
<script type="text/html" id="single_menu">
    <li class="layui-nav-item"><a class="J_menuItem" href="{{url}}" name="tabMenuItem"><i class="dawn-icon {{icon}}"></i><span class="menu-text-left">{{name}}</span></a></li>
</script>
<script type="text/html" id="more_menu">
    <li class="layui-nav-item">
        <a href="javascript:;"><i class="dawn-icon {{icon}}"></i><span class="menu-text-left">{{name}}</span></a>
        <dl class="layui-nav-child">
            {{html}}
        </dl>
    </li>
</script>
<script type="text/html" id="more_menu_info">
    <dd><a href="{{url}}" class="J_menuItem" name="tabMenuItem"><i class="dawn-icon {{icon}}"></i><span class="menu-text-left">{{name}}</span></a></dd>
</script>
<script type="text/html" id="user_chpwd">
    <div class="layui-form layui-form-pane dawn-form">
        <div class="layui-form-item">
            <label class="layui-form-label dawn-form-label">原密码</label>
            <div class="layui-input-block">
                <input name="oldPwd" lay-verify="required" autocomplete="off"
                       placeholder="请输入密码" class="layui-input"
                       type="password">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label dawn-form-label">新密码</label>
            <div class="layui-input-block">
                <input name="newPwd" lay-verify="required" autocomplete="off"
                       placeholder="请输入密码" class="layui-input"
                       type="password">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label dawn-form-label">新密码验证</label>
            <div class="layui-input-block">
                <input name="rePwd" lay-verify="rePassword" autocomplete="off"
                       placeholder="请输入密码" class="layui-input"
                       type="password">
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="save">提交</button>
        </div>
    </div>
</script>
<script type="text/html" id="user_view">
    <div class="layui-form layui-form-pane dawn-form" lay-filter="info">
        <input type="hidden" name="id">
        <div class="layui-row">
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label dawn-form-label">账户</label>
                    <div class="layui-input-block">
                        <input name="account" lay-verify="required" autocomplete="off"
                               placeholder="请输入账户" class="layui-input"
                               type="text">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label dawn-form-label">性别</label>
                    <div class="layui-input-block">
                        <select name="sex" lay-verify="required">
                            <option value="">请选择</option>
                            <option value="1">男</option>
                            <option value="2">女</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">邮箱</label>
                    <div class="layui-input-block">
                        <input name="email" autocomplete="off"
                               placeholder="请输入邮箱" class="layui-input"
                               type="text">
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label dawn-form-label">姓名</label>
                    <div class="layui-input-block">
                        <input name="name" lay-verify="required" autocomplete="off"
                               placeholder="请输入姓名" class="layui-input"
                               type="text">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">出生日期</label>
                    <div class="layui-input-block">
                        <input id="birthday" name="birthday" autocomplete="off"
                               placeholder="请输入邮箱" class="layui-input"
                               type="text">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">电话</label>
                    <div class="layui-input-block">
                        <input name="phone" autocomplete="off"
                               placeholder="请输入电话" class="layui-input"
                               type="text">
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row">
            <div class="layui-form-item" style="text-align: right;">
                <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="save">提交</button>
            </div>
        </div>
    </div>
</script>
<script src="${ctxPath}/assets/common/js/index.js?v=${app.version}"></script>
<script src="${ctxPath}/assets/common/js/contabs.js?v=${app.version}"></script>
</body>

</html>
